// import { injectReducer } from 'REDUCER'
// import createContainer from 'UTIL/createContainer'
// const connectComponent = createContainer(
//   ({ userData, currentContent }) => ({ userData, currentContent }),
//   require('ACTION/article').default               // mapActionCreators
// )

export default {
  path: 'HmdMain',

  
  indexRoute: { 
       getComponent(nextState, cb) {
         require.ensure([], (require) => {
           cb(null, require('VIEW/HmdMain').default)
         }, 'HmdMain')
       }
  },

  childRoutes: [
       
       
      {
	      path: 'RepaymentSchedule',
	                                        //       修改密码
	      indexRoute: {
	        component: require('VIEW/HmdMain/RepaymentSchedule').default
	      }
	    },
	    {
	      path: 'LoanDetailInfo',
	                                        //       修改密码
	      indexRoute: {
	        component: require('VIEW/HmdMain/LoanDetailInfo').default
	      }
	    },
	    {
	      path: 'MyHmd',
	                                        //       修改密码
	      indexRoute: {
	        component: require('VIEW/HmdMain/MyHmd').default
	      }
	    },
	    {
	      path: 'RepaymentSchedule',
	                                        //       修改密码
	      indexRoute: {
	        component: require('VIEW/HmdMain/RepaymentSchedule').default
	      }
	    },
	    {
			    path: 'InfoStepOne',
			    indexRoute: {
			        component: require('VIEW/HmdMain/InfoStepOne').default
			    }
			},
			{
			    path: 'InfoStepTwo',
			    indexRoute: {
			        component: require('VIEW/HmdMain/InfoStepTwo').default
			    }
			},
			{
			    path: 'InfoStepThree',
			    indexRoute: {
			        component: require('VIEW/HmdMain/InfoStepThree').default
			    }
			},
			{ 
				path: 'HmdMainApply',
				indexRoute: {
					component: require('VIEW/HmdMain/HmdMainApply').default
				}
			},
			{ 
				path: 'HmdMainTools',
				indexRoute: {
					component: require('VIEW/HmdMain/HmdMainTools').default
				}
			},
			{ 
				path: 'HmdMainAffirm',
				indexRoute: {
					component: require('VIEW/HmdMain/HmdMainAffirm').default
				}
			},
			{ 
				path: 'HmdMainPreApply',
				indexRoute: {
					component: require('VIEW/HmdMain/HmdMainPreApply').default
				}
			},
			{ 
				path: 'HmdMainPreApplyCon',
				indexRoute: {
					component: require('VIEW/HmdMain/HmdMainPreApplyCon').default
				}
			},
			{ 
				path: 'HmdMainApplyRes',
				indexRoute: {
					component: require('VIEW/HmdMain/HmdMainApplyRes').default
				}
			},
			{ 
				path: 'LoanVoucher',
				indexRoute: {
					component: require('VIEW/HmdMain/LoanVoucher').default
				}
			},
	    
  ]
}

/*
  当前路由树如下
  |
  ├ /article
  ├ /article/detail/:aId
  ├ /article/modify/:aId
  ├ /article/add
  |
*/
